package com.example.stray_animal_management_system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @description:
 * @author: panpan
 * @time: 2025/11/1
 */
@Data
@TableName("news")
public class News {
    private Integer id;
    private String title;
    private String subtitle;
    private String content;
    private Integer categoryId;
    private String categoryName;
    private String coverImage;
    private String images;
    private String videoUrl;
    private String author;
    private Integer publisherId;
    private String source;
    private String tags;
    private Integer status;
    private Integer views;
    private Integer likes;
    private Integer isTop;
    private LocalDateTime publishTime;
    private LocalDateTime updateTime;
}
